package controllers.commands
{
	import com.google.maps.overlays.Marker;
	import com.google.maps.overlays.PolylineOptions;
	import com.google.maps.styles.StrokeStyle;
	
	import flash.display.MovieClip;
	import flash.geom.Point;
	import flash.utils.Timer;
	
	import controllers.commands.base.ICommand;
	
	/**
	 * 轨迹回放命令
	 **/
	public class TrackPlaybackCommand implements ICommand
	{
		private var carMC:MovieClip = new car;
		private var manMC:MovieClip = new man;
		private var dogMC:MovieClip = new dog;
		private var pointMC:MovieClip;
		
		private var effectIndex:int;
		private var isPlayingMove:Boolean;
		
		[Bindable]
		private var currentPositionData:Object;
		private var timer:Timer;
		private var actionTimer:Timer;
		private var oldPositionData:Object;
		private var positionArray:Array;
		private var totalPositionObject:Object;
		private var positionLineArray:Array;
		private var oldViewport:Point;
		private var currentViewport:Point;			
		private var speedValue:Number = 0;
		
		private var marker:Marker;
		private var polylineOptions:PolylineOptions = new PolylineOptions({strokeStyle: new StrokeStyle({color: 0xFF0000,thickness: 2,alpha: 0.7})});
		
		public function TrackPlaybackCommand()
		{
		}
		
		public function setContext(context:Object):void
		{
		}
		
		public function execute():void
		{
		}
		
		
	}
}